package com.kws.commercial.dao.Info;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <b>QueryProjectScheduleInfo</b>
 *
 * @description: QueryProjectScheduleInfo <br>
 * @date: 2024/10/29 15:52 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryProjectScheduleInfo {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "项目ID")
    private Long projectQuotationId;

    @ApiModelProperty(value = "项目名称")
    private String schemeName;

    @ApiModelProperty(value = "项目开始时间")
    private Date projectStartTime;

    @ApiModelProperty(value = "项目结束时间")
    private Date projectEndTime;

    @ApiModelProperty(value = "项目状态：0-立项阶段，1-备案阶段，2-勘查设计阶段")
    private String status;

    @ApiModelProperty(value = "创建用户")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "阶段文件列表")
    private Map<String, List<QueryProjectFileInfo>> fileMap;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProjectQuotationId() {
        return projectQuotationId;
    }

    public void setProjectQuotationId(Long projectQuotationId) {
        this.projectQuotationId = projectQuotationId;
    }

    public String getSchemeName() {
        return schemeName;
    }

    public void setSchemeName(String schemeName) {
        this.schemeName = schemeName;
    }

    public String getProjectStartTime() {
        return DateUtil.format(this.projectStartTime,DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setProjectStartTime(Date projectStartTime) {
        this.projectStartTime = projectStartTime;
    }

    public String getProjectEndTime() {
        return DateUtil.format(this.projectEndTime,DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setProjectEndTime(Date projectEndTime) {
        this.projectEndTime = projectEndTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return DateUtil.format(this.createTime, DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Map<String, List<QueryProjectFileInfo>> getFileMap() {
        return fileMap;
    }

    public void setFileMap(Map<String, List<QueryProjectFileInfo>> fileMap) {
        this.fileMap = fileMap;
    }
}
